package com.hancheng.ordercloud.business.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.hancheng.commoncloud.business.entity.dto.IdDTO;
import com.hancheng.commoncloud.business.entity.dto.IdListDTO;
import com.hancheng.commoncloud.framework.result.PageResult;
import com.hancheng.ordercloud.business.entity.dto.OrderDTO;
import com.hancheng.ordercloud.business.entity.dto.OrderInsertDTO;
import com.hancheng.ordercloud.business.entity.dto.OrderUpdateDTO;
import com.hancheng.ordercloud.business.entity.po.OrderPO;
import com.hancheng.ordercloud.business.entity.vo.OrderVO;

import java.util.List;

/**
 * 订单表 Service
 *
 * @author 韩诚
 * @date 2025/06/22
 */
public interface OrderService extends IService<OrderPO>{

     /**
     * 分页列表
     *
     * @param orderDTO
     * @return
     */
     PageResult<OrderVO> getPageList(OrderDTO orderDTO);

      /**
      * 下拉框列表
      *
      * @param orderDTO
      * @return
      */
      List<OrderVO> getList(OrderDTO orderDTO);

      /**
      * 明细
      *
      * @param idDTO
      * @return
      */
      OrderVO detail(IdDTO idDTO);

      /**
      * 新增
      *
      * @param orderInsertDTO
      * @return
      */
      void insert(OrderInsertDTO orderInsertDTO);

      /**
      * 批量删除
      *
      * @param idListDTO
      * @return
      */
      void deleteBatch(IdListDTO idListDTO);

}